import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { ReactiveFormsModule } from '@angular/forms';
import { FormsModule }   from '@angular/forms';


import { AlertModule, AccordionModule } from 'ng2-bootstrap';

import { userRoutes } from './user.route';
import { UserMainComponent } from './user-main/user-main.component';
import { UserLoginComponent } from './user-login/user-login.component';
import { UserLoginService } from './user-login/user-login.service';

@NgModule({
  declarations: [
  UserMainComponent,
  UserLoginComponent,
  ],
  imports: [
      FormsModule,
    CommonModule,
    ReactiveFormsModule,
    AlertModule,
    AccordionModule,
    RouterModule.forChild(userRoutes)
  ],
  exports: [
      UserMainComponent
  ],
  providers: [
      UserLoginService
  ]
})
export class UserModule { }